package song.demo.mapper;

import org.apache.ibatis.annotations.Mapper;
import song.demo.bean.UserBean;

import java.util.List;

@Mapper
public interface UserMapper {
    UserBean getInfo(String name,String password);
    List<UserBean> getAllUser();
    int insertUser(UserBean userBean);//插入用户
    int deleteUser(String id);//删除用户
    UserBean getUserById(String id);//获取指定ID用户
    int updateUser(UserBean userBean);//修改用户信息
}
